package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Expense;

/**
 * Service for Expense logic
 * 
 * @author Fernando Perelli
 * 
 */
public interface ExpenseService {

	/**
	 * Save method
	 * 
	 * @param expense
	 * @return Expense
	 */
	public Expense save(Expense expense);

	/**
	 * Update method
	 * 
	 * @param expense
	 */
	public void update(Expense expense);

	/**
	 * Delete method
	 * 
	 * @param expense
	 */
	public void delete(Expense expense);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Expense
	 */
	public Expense findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Expense>
	 */
	public Collection<Expense> findAll();
}
